package com.xuetang9.service.al.impl;

import com.xuetang9.dao.UserMapper;
import com.xuetang9.domain.User;
import com.xuetang9.dto.a.ListRequestDTO;
import com.xuetang9.service.UserService;
import com.xuetang9.vo.ListVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : allende
 * @describe :用户修改删除冻结实现类
 * @date : 2020/5/12 11:07
 * @vision : 1.0.0
 **/
@Service("UserServiceAl")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public int deleteUser(int id) {
        return userMapper.deleteUser(id);
    }

    @Override
    public int updateUser(User user) {
        return userMapper.updateUser(user);
    }

    @Override
    public int updateUserStatus(int id) {
        return userMapper.updateUserStatus(id);
    }



}
